import Cookies from 'js-cookie'

const TokenKey = 'LoginToken'
const RefreshTokenKey = 'RefreshToken'
const MsgKey = 'MsgKey'

export function getToken() {
    return Cookies.get(TokenKey)
}

export function setToken(token) {
    return Cookies.set(TokenKey, token)
}

export function removeToken() {
    return Cookies.remove(TokenKey)
}

export function getMsgKey() {
    return Cookies.get(MsgKey)
}

export function setMsgKey(token) {
    return Cookies.set(MsgKey, token)
}

export function removeMsgKey() {
    return Cookies.remove(MsgKey)
}


